package com.ml.mall.service.catalogue;

import com.ml.mall.bean.req.catalogue.CatalogueDelDto;
import com.ml.mall.bean.req.catalogue.SysCatalogueAddDto;
import com.ml.mall.bean.res.catalogue.SysCatalogueQueryRes;
import com.ml.mall.entity.catalogue.SysCatalogue;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* <p>
    *  服务类
    * </p>
*
* @author pl
* Created 2021-05-25
*/
public interface SysCatalogueService extends IService<SysCatalogue> {

    //实现添加收藏夹操作
    int sysCatalogueNew(SysCatalogueAddDto sysCatalogueAddDto);
    //实现收藏id以及收藏夹名的查询功能
    List<SysCatalogueQueryRes> sysCatalogueQuery();

    //删除收藏夹
    int delCatalog(CatalogueDelDto dto);
}
